package com.guinea.system.service;

import java.io.Serializable;
import com.guinea.core.orm.HibernateDao;
import com.guinea.core.service.EntityService;
import com.guinea.system.dao.UserDao;
import com.guinea.system.entity.User;

public class UserService extends EntityService {
	private UserDao userDao;

	public User getUser(Serializable id) {
		return (User) getUserDao().get(id);
	}

	public HibernateDao getEntityDao() {
		return userDao;
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
}
